Leadtools.Dicom.AddIn Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
ContainsKey Method
See Also 
Leadtools.Dicom.AddIn Namespace > Generic ThreadSafeDictionary Class : ContainsKey Method



key
The key to locate in the Generic IDictionary.
key
The key to locate in the Generic IDictionary.
Determines whether the Generic IDictionary contains an element with the specified key.

Syntax

Visual Basic (Declaration) 
Public Overridable Function ContainsKey( _
   ByVal key As TKey _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As ThreadSafeDictionary(Of TKey,TValue)
Dim key As TKey
Dim value As Boolean
 
value = instance.ContainsKey(key)
C# 
public virtual bool ContainsKey( 
   TKey key
)
C++/CLI 
public:
virtual bool ContainsKey( 
   TKey key
) 

Parameters

key
The key to locate in the Generic IDictionary.

Return Value

true if the Generic IDictionary contains an element with the key; otherwise, false.

Exceptions

ExceptionDescription
ArgumentNullExceptionkey is null.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Dicom.AddIn requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features